import Layout from '../components/layout'
// import { Auth } from '../store/models/auth'
import { isAuth } from '../utils/auth'
import { Redirect } from 'react-router-dom'

export default function UserDashboard() {
  return isAuth() ? (
    <Layout title='Dashboard'>
      user Dashboard
    </Layout>
  ) : (
    <Redirect to='/signin' />
  )
}
